<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="tabs_header">
			<ul class="tabs">
				<li><a href="<!--{eval echo base_url()}-->admin/admin_from/index"><span>浏览来源</span></a></li>
				<li class="null"><a href="<!--{eval echo base_url()}-->admin/admin_from/add_from">添加来源</a></li>
			</ul>
		</div>
<!--加载数据-->
			<div class="bdrcontent">
				<table class="formtable" cellspacing="5" cellpadding="5">
						<th style="width:4em;">ID</th>
						<th style="width:100px;">中文</th>
						<th style="width:100px;">英文</th>
						<th>数据表</th>
						<th style="width:200px;">连接地址</th>
						<th>创建时间</th>
						<th>操作</th>
						<!--{loop $fromsource $key $from}-->
						<tr>
							<td>{$from[fromid]}
							</td>
							<td>{$from[title]}</td>
							<td>{$from[name]}</td>
							<td>{$from[goods_table]}<br /> {$from[activity_table]}</td>
							<td><a href="{$from[url]}">{$from[url]}</a></td>
							<td><!--{date('Y-m-d H:i:s', $from['dateline'])}--></td>
							<td>
								<a href="<!--{eval echo base_url()}-->admin/admin_from/edit_from/{$from[fromid]}">编辑</a>	
								<br />
							</td>
						<tr>
						<!--{/loop}-->
					</tr>
				</table>
			</div>
	</div>
</div>
<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->